CC = g++
CFLAGS = -c -O3
SOURCES = FileSystem.cc Directory.cc  main.cc File.cc Cache.cc
OBJECTS = $(SOURCES:.cc=.o)
EXECUTABLE = filesystem

.c.o:
	$(CC) $(CFLAGS) $< -o $@

compile: $(OBJECTS)
	$(CC) $(OBJECTS) -o $(EXECUTABLE)

clean:
	rm -rf $(OBJECTS) $(EXECUTABLE)